<script type="text/javascript">
jQuery(function() {
	jQuery("#{id}").autocomplete(<f:format.raw value="{" />
		source: "{f:widget.uri(action:'autocomplete', ajax: 1)}",
		minLength: 2
	});
});
</script>
